Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_string_decimals

f32.as_string_decimals

(fraction_digits i32)
 => 
String
[Redefinition of  float.as_string_decimals]
convert this to a string with a fixed number of digits after the decimal point.
If the given values are unusable, the result is the same as `as_string`.
Overflows are technically possible, but floats become inaccurate long before that.
0.099dev (GIT hash a1331a3dc7ff37424401d3c7d0dba5be1302516f)
last changed: 2026-07-23